<template>
    <div class="Extension">Extension
    </div>
</template>

<script lang="ts">
import { Component, Vue } from 'vue-property-decorator'
import {NAV_BAR_INFO} from "@/store/MutationTypes";
@Component({
    name: 'Extension'
})
export default class extends Vue {
    private mounted(): void {
        let __this = this;
        this.$common.scrollToTop();
        this.$store.dispatch(NAV_BAR_INFO, {
            leftItem: {name: '首页', click: () => {
                __this.$router.push('/home');
                }}
        })
    }
}
</script>

<style scoped lang="less">
.Extension {
    padding: 0.2rem 0.3rem;
}
</style>
